find-remotes: Add a find-remotes built-in command
authorPhilip Withnall <withnall@endlessm.com>
Tue, 25 Apr 2017 18:10:04 +0000 (19:10 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 26 Jun 2017 15:56:07 +0000 (15:56 +0000)
commit6453203f54c429baa963cf5662313a3be030af9e
treea6c1db9897a00aaa54847de57719804e7ceb085e
parente3d4eeacbca699e3a0551bd02f49eb912df09b3d
find-remotes: Add a find-remotes built-in command

This is a wrapper around the new ostree_repo_find_remotes() method; it
tries to find available remotes which can serve updates for the
user-provided refs.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #924
Approved by: cgwalters
Makefile-ostree.am
src/ostree/main.c
src/ostree/ot-builtin-find-remotes.c [new file with mode: 0644]
src/ostree/ot-builtins.h